package com.github.yoojia.mqtt.boot;

/**
 * @author Yoojia Chen (yoojiachen@gmail.com)
 * @since 1.0
 */
class ActuatorMeta {

    public final long regid;
    public final PatternType patternType;
    public final Actuator actuator;
    public final TagFilter tagFilter;

    public static ActuatorMeta of(long regid, PatternType type, Actuator actuator, TagFilter tagFilter){
        return new ActuatorMeta(regid, type, actuator, tagFilter);
    }

    private ActuatorMeta(long regid, PatternType type, Actuator actuator, TagFilter tagFilter) {
        this.regid = regid;
        this.patternType = type;
        this.actuator = actuator;
        this.tagFilter = tagFilter;
    }

}
